@echo off
Echo Compilando
javac -classpath C:\workspace\UCS\AgendaRMIServer\src C:\workspace\UCS\AgendaRMIServer\src\server\MessengerImpl.java
javac -classpath C:\workspace\UCS\AgendaRMIServer\src C:\workspace\UCS\AgendaRMIServer\src\server\Server.java
rmic -v1.1 -d C:\workspace\UCS\AgendaRMIServer\src\ -classpath c:\workspace\UCS\AgendaRMIServer\src server.MessengerImpl

javac -classpath C:\workspace\UCS\AgendaRMIServer\src C:\workspace\UCS\AgendaRMIServer\src\server\Person.java
rem rmic -v1.1 -d C:\workspace\UCS\AgendaRMIServer\src\ -classpath c:\workspace\UCS\AgendaRMIServer\src server.Person
Echo Compilado com sucesso
pause
